///////////////////////////////////////////////////////
// These classes are exported for application use
///////////////////////////////////////////////////////
CEudoraMailbox
{
private:
	CEudoraMBXFile	m_MBXFile;
	CEudoraTOCFile  m_TOCFile;
	CObArray	MsgArray;          // Array of CEudoraMsg s
public:
	CEudoraMailbox();
	CEudoraMailbox( CString s );
	void Open( CString s );
	void Open();
	void Close();
	void Compact();
	CEudoraMsg GetMessage(int i);
	int GetMessageCount();
}

// The message text also contains the msg header
// in text form
CEudoraMsg : public CObject
{
private:
	CEudoraMsgHeader MsgHead;
	CString Message;    // 
public:
	CString GetMsgText();
	CEudoraMsg();
	CEudoraMsg( CString t );
	SetMsgText( CString t );
	GetSubject();
	SetSubject(CString s);
}


//////////////////////////////////////////////////////////////////
// These classes are not exported
//////////////////////////////////////////////////////////////////

//	Read from TOC file
CEudoraMsgHeader : public CObject
{
private:
	CString Subject;
	CString To;
	CString From;
	CString MsgDate;
	char status;
	long offset;
	long size;
public:
	CEudoraMsgHeader();
	CEudoraMsgHeader( CString sub, CString to, CString From );
}

CEudoraTOCFile
{
}	


CEudoraMBXFile
{
	GetMsg( int BegOffset, int Length );
}

